package com.healthcarex.hip.saas.web.dao;

import com.healthcarex.hip.saas.mybatis.config.MyMapper;
import com.healthcarex.hip.saas.common.model.SysWebLog;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author chenpan
 * @ClassName: WebLogDao
 * description:
 * @date 2018-04-08 14:08
 */
@Mapper
public interface WebLogDao extends MyMapper<SysWebLog> {

    /**
     * 清空日志
     */
    @Delete("truncate table HP_SYS_LOG")
    void truncateLogs();
}
